package com.xy.blog.user.dao.model;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

/**
 * @author zanhonglei
 * @version V1.0
 * @Description: 用户DO
 * @date 2019/10/21 21:45
 */
@Data
@Table(name = "t_user")
public class UserDO {
    @Id
    private Long id;
    @Column(name = "user_name")
    private String userName;

    @Column(name = "user_code")
    private String userCode;

    @Column(name = "user_template_id")
    private Long userTemplateId;

    @Column(name = "create_time")
    private LocalDateTime updateTime;

    @Column(name = "update_time")
    private LocalDateTime createTime;

}
